package com.jmb.api.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jmb.api.entity.Permission;
import com.jmb.api.vo.permission.PermissionQueryVO;
import com.jmb.api.vo.permission.PermissionVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 金梦博
* @description 针对表【t_permission】的数据库操作Mapper
* @createDate 2025-09-25 17:20:28
* @Entity com.jmb.api.entity.Permission
*/

@Mapper
public interface PermissionMapper extends BaseMapper<Permission> {

    IPage<PermissionVO> listPermission(IPage<PermissionVO> page, PermissionQueryVO permissionQueryVO);

    List<PermissionVO> listPermissionTree();
}




